package service;

import entity.hotel_order;
import entity.hotel_room;
import entity.hotel_tenant;

import java.util.List;

public interface HotelOrderService {
    int orderCreate(hotel_order hotel_order);
    List<hotel_order> orderInfo();

    int tenantCreate(hotel_tenant hotel_tenant);
    List<hotel_tenant> tenantInfo();

    List<hotel_room> selectRoomByClass(String room_class);

    List<hotel_order> selectAllOrder();

    List<hotel_tenant> selectAllTenant();

    int roomStatusChange(String room_no,String flag);

    List<hotel_room> selectAllRoom();

    int deleteTenant(String room_no);

    hotel_tenant selectTenantByRoomNo(String room_no);
}
